﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPageSEG.Master" AutoEventWireup="true" CodeBehind="InterfacesManut.aspx.cs" Inherits="SEG.InterfacesManut" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="color: #000000">
    <table style="width:100%;">
        <tr>
            <td align="left" colspan="2">
                <asp:Label ID="lblInter" runat="server" 
                    style="font-size: large; font-weight: 700; color: #000000; font-family: Arial, Helvetica, sans-serif" 
                    Text="Manutenção de Interfaces" ForeColor="Black"></asp:Label>
                <hr
                        class="linhahorizontal" style="width: 750px" />
            </td>
        </tr>
        <tr>
            <td class="erro" colspan="2" style="height: 18px">
                <asp:Label ID="lblErro" runat="server" CssClass="erro" Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="grid_titulo_right" style="width: 209px">
                &nbsp;</td>
            <td class="grid_celula">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="grid_titulo_right" style="width: 209px">
                <asp:Label ID="Label2" runat="server" Text="Interface"></asp:Label>
            </td>
            <td align="left" class="grid_celula">
                <asp:TextBox ID="txtInterface" runat="server" Width="292px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtInterface" ErrorMessage="* Informe a Interface"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="grid_titulo_right" style="width: 209px">
                <asp:Label ID="lblAplic" runat="server" Text="Aplicação"></asp:Label>
            </td>
            <td align="left" class="grid_celula">
                <asp:DropDownList ID="ddlAplicações" runat="server" DataSourceID="dsAplicações" 
                    DataTextField="DSC_APLIC" DataValueField="COD_APLIC" Width="218px">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="ddlAplicações" ErrorMessage="* Informe a Aplicação"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="grid_titulo_right" style="width: 209px">
                &nbsp;</td>
            <td class="grid_celula">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Button ID="btnOk" runat="server" onclick="btnOk_Click" 
                    style="font-weight: bold" Text="Ok" Width="80px" />
                <asp:Button ID="btnCancelar" runat="server" onclick="btnCancelar_Click" 
                    style="font-weight: bold" Text="Cancelar" Width="80px" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
            <asp:SqlDataSource ID="dsAplicações" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
                    SelectCommand="select COD_APLIC, DSC_APLIC from seg_aplicacoes order by 2"></asp:SqlDataSource>
                &nbsp;</td>
        </tr>
    </table>
    </div>
</asp:Content>
